/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Pediatrics Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20204 (C-0-T19465-S20096-S20204-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPediatricsProviderCodes()
 * @model extendedMetaData="name='PediatricsProviderCodes'"
 * @generated
 */
public enum PediatricsProviderCodes implements Enumerator {
	/**
	 * The '<em><b>208000000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_208000000X_VALUE
	 * @generated
	 * @ordered
	 */
	_208000000X(0, "_208000000X", "208000000X"),

	/**
	 * The '<em><b>2080A0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080A0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080A0000X(1, "_2080A0000X", "2080A0000X"),

	/**
	 * The '<em><b>2080I0007X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080I0007X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080I0007X(2, "_2080I0007X", "2080I0007X"),

	/**
	 * The '<em><b>2080P0006X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0006X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0006X(3, "_2080P0006X", "2080P0006X"),

	/**
	 * The '<em><b>2080T0002X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080T0002X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080T0002X(4, "_2080T0002X", "2080T0002X"),

	/**
	 * The '<em><b>2080N0001X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080N0001X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080N0001X(5, "_2080N0001X", "2080N0001X"),

	/**
	 * The '<em><b>2080P0008X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0008X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0008X(6, "_2080P0008X", "2080P0008X"),

	/**
	 * The '<em><b>2080P0201X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0201X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0201X(7, "_2080P0201X", "2080P0201X"),

	/**
	 * The '<em><b>2080P0202X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0202X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0202X(8, "_2080P0202X", "2080P0202X"),

	/**
	 * The '<em><b>2080P0203X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0203X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0203X(9, "_2080P0203X", "2080P0203X"),

	/**
	 * The '<em><b>2080P0204X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0204X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0204X(10, "_2080P0204X", "2080P0204X"),

	/**
	 * The '<em><b>2080P0205X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0205X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0205X(11, "_2080P0205X", "2080P0205X"),

	/**
	 * The '<em><b>2080P0206X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0206X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0206X(12, "_2080P0206X", "2080P0206X"),

	/**
	 * The '<em><b>2080P0207X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0207X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0207X(13, "_2080P0207X", "2080P0207X"),

	/**
	 * The '<em><b>2080P0208X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0208X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0208X(14, "_2080P0208X", "2080P0208X"),

	/**
	 * The '<em><b>2080P0210X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0210X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0210X(15, "_2080P0210X", "2080P0210X"),

	/**
	 * The '<em><b>2080P0214X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0214X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0214X(16, "_2080P0214X", "2080P0214X"),

	/**
	 * The '<em><b>2080P0216X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080P0216X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080P0216X(17, "_2080P0216X", "2080P0216X"),

	/**
	 * The '<em><b>2080S0010X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2080S0010X_VALUE
	 * @generated
	 * @ordered
	 */
	_2080S0010X(18, "_2080S0010X", "2080S0010X");

	/**
	 * The '<em><b>208000000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>208000000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_208000000X
	 * @model literal="208000000X"
	 * @generated
	 * @ordered
	 */
	public static final int _208000000X_VALUE = 0;

	/**
	 * The '<em><b>2080A0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080A0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080A0000X
	 * @model literal="2080A0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080A0000X_VALUE = 1;

	/**
	 * The '<em><b>2080I0007X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080I0007X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080I0007X
	 * @model literal="2080I0007X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080I0007X_VALUE = 2;

	/**
	 * The '<em><b>2080P0006X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0006X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0006X
	 * @model literal="2080P0006X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0006X_VALUE = 3;

	/**
	 * The '<em><b>2080T0002X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080T0002X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080T0002X
	 * @model literal="2080T0002X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080T0002X_VALUE = 4;

	/**
	 * The '<em><b>2080N0001X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080N0001X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080N0001X
	 * @model literal="2080N0001X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080N0001X_VALUE = 5;

	/**
	 * The '<em><b>2080P0008X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0008X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0008X
	 * @model literal="2080P0008X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0008X_VALUE = 6;

	/**
	 * The '<em><b>2080P0201X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0201X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0201X
	 * @model literal="2080P0201X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0201X_VALUE = 7;

	/**
	 * The '<em><b>2080P0202X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0202X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0202X
	 * @model literal="2080P0202X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0202X_VALUE = 8;

	/**
	 * The '<em><b>2080P0203X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0203X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0203X
	 * @model literal="2080P0203X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0203X_VALUE = 9;

	/**
	 * The '<em><b>2080P0204X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0204X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0204X
	 * @model literal="2080P0204X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0204X_VALUE = 10;

	/**
	 * The '<em><b>2080P0205X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0205X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0205X
	 * @model literal="2080P0205X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0205X_VALUE = 11;

	/**
	 * The '<em><b>2080P0206X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0206X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0206X
	 * @model literal="2080P0206X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0206X_VALUE = 12;

	/**
	 * The '<em><b>2080P0207X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0207X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0207X
	 * @model literal="2080P0207X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0207X_VALUE = 13;

	/**
	 * The '<em><b>2080P0208X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0208X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0208X
	 * @model literal="2080P0208X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0208X_VALUE = 14;

	/**
	 * The '<em><b>2080P0210X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0210X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0210X
	 * @model literal="2080P0210X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0210X_VALUE = 15;

	/**
	 * The '<em><b>2080P0214X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0214X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0214X
	 * @model literal="2080P0214X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0214X_VALUE = 16;

	/**
	 * The '<em><b>2080P0216X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080P0216X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080P0216X
	 * @model literal="2080P0216X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080P0216X_VALUE = 17;

	/**
	 * The '<em><b>2080S0010X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2080S0010X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2080S0010X
	 * @model literal="2080S0010X"
	 * @generated
	 * @ordered
	 */
	public static final int _2080S0010X_VALUE = 18;

	/**
	 * An array of all the '<em><b>Pediatrics Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PediatricsProviderCodes[] VALUES_ARRAY =
		new PediatricsProviderCodes[] {
			_208000000X,
			_2080A0000X,
			_2080I0007X,
			_2080P0006X,
			_2080T0002X,
			_2080N0001X,
			_2080P0008X,
			_2080P0201X,
			_2080P0202X,
			_2080P0203X,
			_2080P0204X,
			_2080P0205X,
			_2080P0206X,
			_2080P0207X,
			_2080P0208X,
			_2080P0210X,
			_2080P0214X,
			_2080P0216X,
			_2080S0010X,
		};

	/**
	 * A public read-only list of all the '<em><b>Pediatrics Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PediatricsProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Pediatrics Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PediatricsProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PediatricsProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pediatrics Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PediatricsProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PediatricsProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pediatrics Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PediatricsProviderCodes get(int value) {
		switch (value) {
			case _208000000X_VALUE: return _208000000X;
			case _2080A0000X_VALUE: return _2080A0000X;
			case _2080I0007X_VALUE: return _2080I0007X;
			case _2080P0006X_VALUE: return _2080P0006X;
			case _2080T0002X_VALUE: return _2080T0002X;
			case _2080N0001X_VALUE: return _2080N0001X;
			case _2080P0008X_VALUE: return _2080P0008X;
			case _2080P0201X_VALUE: return _2080P0201X;
			case _2080P0202X_VALUE: return _2080P0202X;
			case _2080P0203X_VALUE: return _2080P0203X;
			case _2080P0204X_VALUE: return _2080P0204X;
			case _2080P0205X_VALUE: return _2080P0205X;
			case _2080P0206X_VALUE: return _2080P0206X;
			case _2080P0207X_VALUE: return _2080P0207X;
			case _2080P0208X_VALUE: return _2080P0208X;
			case _2080P0210X_VALUE: return _2080P0210X;
			case _2080P0214X_VALUE: return _2080P0214X;
			case _2080P0216X_VALUE: return _2080P0216X;
			case _2080S0010X_VALUE: return _2080S0010X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PediatricsProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PediatricsProviderCodes
